//
//  NewsImageViewCell.m
//  项目一TimeMovie
//
//  Created by apple on 16/4/1.
//  Copyright © 2016年 huangmingyu. All rights reserved.
//

#import "NewsImageViewCell.h"

@implementation NewsImageViewCell


- (void)awakeFromNib {
    
    
    [super awakeFromNib];
    _imgView = [[UIImageView alloc] initWithFrame:self.frame];
    
    [self addSubview:_imgView];
}

- (void)setModel:(ImageModel *)model {
    
    _model = model;
    
    [_imgView sd_setImageWithURL:[NSURL URLWithString:_model.imgView]];
    
    _imgView.layer.cornerRadius = 10;
    _imgView.layer.masksToBounds = YES;
}


@end
